from django.urls import path

from . import views


app_name = 'product'

urlpatterns = [
    path('', views.HomePageDisplay.as_view(), name='home_page'),
    path('product/<int:pk>/', views.Product.as_view(), name='single_product'),
    path('list_of_products/', views.ListOfProducts.as_view(), name='list_of_products'),
    path('buy/<int:pk>/', views.Buy.as_view(), name='buy'),
    path('result_of_buy/', views.ShowResultOfBuy.as_view(), name='result_of_buy'),
    path('cart/', views.Cart.as_view(), name='cart')
]
